/*
 * @Author: zhangzhanyan 
 * @Date: 2021-07-23 16:48:52 
 * @Last Modified by: zhangzhnayan
 * @Last Modified time: 2021-07-23 17:46:17
 */

import  { Component } from 'react';
import { Icon } from 'antd-mobile';
import {history} from "umi"

class header extends Component {
    back=()=>{
        history.goBack()
    }
    render() {
        return (
            <div className="City-header">
                <div>
                <Icon type="left" onClick={()=>this.back()}  />
                </div>
                <div>选择城市</div>
                <div></div>
            </div>
        );
    }
}

export default header;